package org.akomantoso.core.io;

/**
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 */
public final class InputUtil {

	private InputUtil() {}
	
	public static Boolean readBoolean(String value) {
		if (value == null) {
			return null;
		}
		return Boolean.valueOf(value);
	}
	
	public static Integer readInteger(String value) {
		if (value == null) {
			return null;
		}
		return Integer.valueOf(value);
	}
}
